package com.staryy.activiti7_workflow.util;


import lombok.Data;

public class GlobalConfig {

    public static final Boolean Test = true;

    public enum ResponseCode{

        SUCCESS(0,"成功"),
        ERRPR(1,"错误");

        private final int code;
        private final String desc;

        ResponseCode(int code,String desc){
            this.code = code;
            this.desc = desc;
        }

        public int getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }
}
